<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>国内折扣列表功能</title>
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../css/discount.css">
</head>

<body>
    <!-- 头部部分开始 -->
    <div class="mmm_header">
        <div class="mmm_header_left glyphicon glyphicon-chevron-left
        "></div>
        <div class="mmm_header_middle">国内折扣</div>
        <div class="mmm_header_right 
        ">
            <span class="glyphicon glyphicon-download-alt  mmm_appicon"></span>
            <div>APP下载</div>
        </div>

    </div>
    <!-- 头部部分结束 -->


    <!-- 列表部分开始 -->
    <div class="discountlist" id='discountlist'>
        <!-- <div class="mmm_discountlist_content">
            <a href="javascript:;">
                <img src="http://img2019.manmanbuy.com/r_img/img/20190212/16/17a97acb5e624280816e95bb66a527de.jpg?imageMogr2/thumbnail/212x212"
                    alt="">
                <div class="mmm_discountlist_bottom">
                    <p class="mmm_discountlist_title">西域美农新疆特产五星和田红枣250g*2</p>
                    <div class="mmm_discountlist_price">19.8元(5件99元)</div>
                    <div class="mmm_discountlist_info">
                        <div class="mmm_discountlist_mall">京东商城 | 10-22 13:28</div>
                    </div>

                </div>

            </a>
        </div> -->
    </div>
    <!-- 列表部分结束 -->



    <!-- 底部部分开始 -->
    <div class="mmm_footer">
        <div class="mmm_footer_nav">
            <a href="javascript:;">登录</a>
            <a href="javascript:;">注册</a>
            <a href="javascript:;">
                <span class="glyphicon glyphicon-arrow-up
                "></span>
                返回顶部</a>

        </div>
        <div class="mmm_footer_web">
            <div class="mmm_footerr_web_info">
                <a href="javascript:;">手机app下载</a>
                <span>慢慢手机版--掌上比价平台</span>
            </div>
            <div class="mmm_footer_web_add">
                m.manmanbuy.com
            </div>
        </div>
    </div>
    <!-- 底部部分结束 -->

</body>

</html>
<!-- 列表渲染模板 -->
<script type="text/template" id="discount_tp">
    {{each result as value i}}
            <div class="mmm_discountlist_content">
            <a href="discountdetail.html?productid={{value.productId}}">
                {{#value.productImg}}
                <div class="mmm_discountlist_bottom">
                    <p class="mmm_discountlist_title">{{value.productName}}</p>
                    <div class="mmm_discountlist_price">{{value.productPrice}}</div>
                    <div class="mmm_discountlist_info">
                        <div class="mmm_discountlist_mall">{{value.productFrom}}| {{value.productTime}}</div>
                    </div>

                </div>

            </a>
        </div>
    {{/each}}

</script>
<script src="../js/template.js"></script>
<script src="../lib/jquery/jquery.js"></script>
<script src="../js/common.js"></script>
<script src="../js/discount.js"></script>


